import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/reset.css'
import './assets/css/iconfont.css'
import './plugins/element.js'
import { mqttService } from "@/mqtt/mqttService"; //@一般指的是src文件


Vue.config.productionTip = false
Vue.config.devtools = true

//跨域代理
import api from '../api/index.js'
Vue.prototype.$api = api
Vue.prototype.$store=store
Vue.prototype.$mqtt=mqttService

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
